Data modulating method and apparatus, data demodulating method and apparatus, and code arranging method

ABSTRACT

In a data demodulating method and apparatus, and a code arranging method, a multiplexer multiplexes an input data stream divided by a predetermined length into a plurality of types of pseudo random data streams using multiplexed information of predetermined bits by applying a predetermined multiplexing method to each of the pseudo random data streams. An encoder RLL-modulates the plurality of types of pseudo random data streams to create a modulated code stream including a minimum of DC components. The multiplexer generates the random data streams by inconsecutively scrambling the input data stream using the multiplexed information. The encoder weak DC-free RLL-modulates each of the multiplexed data streams without using a DC control sub code conversion table to which additional bits are added and provides a code stream including a minimum of DC components among multiplexed, RLL-modulated code streams.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of application Ser. No. 10/838,204,filed May 5, 2004, now pending, which is a continuation of applicationSer. No. 10/667,670, filed Sep. 23, 2003, now U.S. Pat. No. 7,034,719.This application also claims the priority of Korean Patent ApplicationNos. 2002-58809 and 2002-63534, filed on Sep. 27, 2002 and Oct. 17,2002, respectively, in the Korean Intellectual Property Office, thedisclosures of which are incorporated herein in their entireties byreference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to the field of data modulation anddemodulation, and more particularly, to a data modulating method andapparatus, a data demodulating method and apparatus, and a codearranging method which provide modulation codes having a reduced errorpropagation probability, a high code efficiency, and a DC suppressioncapability.

2. Description of the Related Art

A multimode coding method provides a DC suppression capability to amodulation code having no DC suppression capability. In the multimodecoding method, additional a-bit information is inserted into an inputdata stream, 2^(a) random data streams are generated depending on theadditional a-bit information, and one of the modulated data streamscontaining the minimum DC component is selected even when modulationhaving no DC suppression capability is performed in the 2^(a) randomdata streams, so that the modulated data streams have a DC suppressioncapability.

U.S. Pat. No. 6,225,921 discloses “Device for Encoding/Decoding n-bitSource Words into Corresponding m-bit Channel Words, and vice versa” inwhich a code (d=1, k=7, m=2, and n=3) has a redundancy of about 2%, itscode rate R is R=49/75=0.6533, and its code efficiency R/C (d, k) isR/C(d, k)=0.6533/0.6793=96.2%. For convenience, a modulation code usedin U.S. Pat. No. 6,225,921 is called A-Code.

U.S. Pat. No. 6,281,815 discloses “Method of Allocating RLL code HavingEnhanced DC Suppression Capability, Modulation Method, DemodulationMethod, and Demodulation Apparatus therefor” in which when a code (d=1,k=8, m=8, and n=12) has a redundancy of about 2%, its code rate R isR=32/49=0.6531, and its code efficiency R/C (d, k) is R/C(d,k)=0.6531/0.6853=95.3%. For convenience, a modulation code used in U.S.Pat. No. 6,281,815 is referred to as B-Code. Here, “C” denotes capacitydepending on “d” and “k”.

In a guided scrambling method described in “Codes for Mass Data StorageSystems” by Kees A. Schouhamer Immink, Shannon Foundation Publishers,chapter 13, 1999, when redundant 4 bits are inserted into every 25 bytesof data and the data is RLL (1, 7)-modulated, a code rate R isR=200/306=0.6536, and a code efficiency R/C (d, k) isR/C(d,k)=0.6536/0.6793=96.2%. A modulation code used in the abovedocument is referred to as a C-Code.

The code rates in the above-mentioned conventional modulation methodsare similar, i.e., within a range of 95.3%-96.2%, and the power spectrumdensity (PSD) curves representing DC suppression capabilities of theA-Code, B-Code, and C-Code are shown in FIG. 1.

However, in the multimode coding method disclosed in the above document,the frequency of usage of additional information necessary for making adata stream into random data should be increased to have a sufficient DCsuppression capability. Also, even though a modulation technology havinghigher code efficiency is developed, a DC suppression capability may beinsufficient. For example, when the B-code disclosed in U.S. Pat. No.6,281,815 does not contain redundant bits, it can suppress a DC offset,but cannot have a sufficient DC suppression capability in a case ofhaving no additional bits. Hereinafter, a code, which is capable ofsuppressing a DC offset without redundant bits, but has a weaksuppression performance in the absence of additional bits, is referredto as a weak DC-free modulation code.

FIG. 2 illustrates a conventional multiplexing method of converting aninput data stream into random data. The conventional multiplexing methodby which an input data stream is converted into 2^(a) random datastreams by continuously scrambling the input data stream usingadditional a-bit information is disclosed in Korean Pat. No.1999-703183, entitled “Digital Modulation Circuit, Digital ModulationMethod, Digital Demodulation Circuit, and Digital Demodulation Method”,filed by SANYO DENKI CO., LTD.

In FIG. 2, an input data stream y _(i) composed of data x_(i,0) throughx_(i,u−1) (referred to as code modulation units) of predetermined bitsis converted into a pseudo-random data stream ƒ(y _(i) /s_(t)) byperforming exclusive OR operations on multiplexed information s_(t) andthe code modulation units x_(i,0) through x_(i,u−1) using exclusive ORdevices.

In other words, the first code modulation unit x_(i,0) is converted intodata y^(t) _(i,0) by performing an exclusive OR operation on the firstcode modulation unit x_(i,0) and the initial data (multiplexedinformation) s_(t) using an exclusive OR device. A next code modulationunit x_(i,1) is converted into data y^(t) _(i,1) by performing anexclusive OR operation on the converted data y^(t) _(i, 0) and the codemodulation unit x_(i,1). Thereafter, an exclusive OR operation isrepeated on converted data of a preceding code modulation unit and acode modulation unit to be converted up to the final code modulationunit x_(i,u−1) of the data input stream y _(i) to create converted dataof each code modulation unit.

FIG. 3 illustrates a stream y′ _(i) that is demodulated through aninversion of an RLL stream ƒ′(y _(i) /s_(t)) when an input data streamis converted into pseudo-random data according to the multiplexingmethod presented in FIG. 2, Run Length Limited (RLL)-modulated, andrecorded on and reproduced from a storage medium.

During the inversion of data, the demodulated stream y′ _(i) isgenerated by performing an exclusive OR operation, in a repeatedfashion, on each demodulation code unit to be inverted except a firstdemodulation code unit (multiplexed information s_(t)) of a non-invertedRLL stream ƒ′(y _(i) /s_(t)) and a demodulation code unit (initial dataor a non-inverted demodulation code unit) immediately before thedemodulation code unit to be inverted.

In other words, the first demodulation code unit y^(t) _(i,0) isinverted into data x_(i,0) by performing an exclusive OR operation onthe first demodulation code unit y^(t) _(i,0) and the initial data(multiplexed information) s_(t). Next, a demodulation code unit y^(t)_(i,1) is inverted into data x_(i,1) by performing an exclusive ORoperation on the first non-inverted demodulation code unit y^(t) _(i,0)and the demodulation code unit y^(t) _(i,1). Thereafter, an exclusive ORoperation is repeated on a demodulation code unit to be inverted and ademodulation code unit immediately before the demodulation code unit tobe inverted up to the final demodulation code unit of the RLL streamƒ′(y _(i) /s_(t)) to generate inverted data of each demodulation codeunit.

As described above, during the inversion of data, one non-inverteddemodulation code unit is used in the inversion of a demodulation codeunit. Thus, when an error occurs in the demodulation code unit to beinverted, the error also affects a subsequent demodulation code unit.For example, when a non-inverted demodulation code unit y^(t*) _(i,u−3)has an error, the error affects inverted data x*_(i,u−3) and subsequentdata x*_(i,u−2).

Accordingly, in the prior art, when the RLL stream ƒ′(y _(i) /s_(t)) hasan error, the error propagates to unscrambled data x*_(i,u−3) andsubsequent data x*_(i,u−2). The error propagation is a general featureof the multimode coding method using scrambling.

SUMMARY OF THE INVENTION

The present invention provides a data modulating method and apparatusthat provides a highly efficient modulation code having a higher DCsuppression capability by maintaining a DC suppression performance asdescribed in the above-mentioned three references and applying amultimode coding method to a weak DC-free modulation code.

The present invention also provides a data modulating method andapparatus and a data demodulating method and apparatus to reduce anerror propagation possibility.

The present invention also provides a data modulating method andapparatus and a data demodulating method and apparatus adopting amultiplexing method of generating pseudo-random data streams bymaintaining a DC suppression performance and discontinuously scramblinginput data.

The present invention also provides a method of arranging a weak DC-freemodulation code by generating code words satisfying a (d, k) constraint,and then arranging the code words so that the original characteristic ofa code stream is maintained even when the code words are arrangedaccording to boundary rules during arrangement of the code stream.

According to an aspect of the present invention, a data modulatingmethod modulates m-bit source data into n-bit (n≧m) code words where aminimum run length limit is confined to “d” and a maximum run lengthlimit is confined to “k”. An input data stream is divided by apredetermined length, and the input data stream is multiplexed usingmultiplexed information according to a predetermined multiplexing methodto provide a multiplexed data stream. The multiplexed data stream isweak DC-free run length limited (RLL)-modulated without a separate DCcontrol code conversion table including additional bits, and then a codestream having a minimum of DC components among multiplexed,RLL-modulated code streams is provided.

According to another aspect of the present invention, a data modulatingmethod modulates m-bit source data into n-bit (n≧m) code words where aminimum run length limit is confined to “d” and a maximum run lengthlimit is confined to “k”. An input data stream divided by apredetermined length is multiplexed into a plurality of types ofpseudo-random data streams using multiplexed information ofpredetermined bits by applying a predetermined multiplexing method toeach of the pseudo-random data streams. The plurality of types ofpseudo-random data streams is RLL-modulated to create a modulated codestream in which an optimal DC suppression is performed.

According to still another aspect of the present invention, a datamodulating method modulates m-bit source data into n-bit (n≧m) codewords where a minimum run length limit is confined to “d” and a maximumrun length limit is confined to “k”. An input data stream divided by apredetermined length is multiplexed into a plurality of types ofpseudo-random data streams using multiplexed information ofpredetermined bits by applying a predetermined multiplexing method toeach of the pseudo-random data streams. The multiplexed data streams areweak DC-free RLL-modulated without using a DC control code conversiontable including additional bits, and a code stream including a minimumof DC components among multiplexed, RLL-modulated code streams isprovided.

According to yet another aspect of the present invention, a datademodulating method demodulates each n bit of input digital data intom-bit (n≧m) of a demodulation code unit to generate a non-inverted datastream having a predetermined length. The non-inverted data stream isinconsecutively descrambled using multiplexed information to generate aninverted data stream.

According to yet another aspect of the present invention, a method ofarranging m-bit source data into n-bit (n≧m) code words confines aminimum run length limit “d” to 1 and a maximum run length limit “k” to7. When a code word a is connected to a code word b, the code word a isa preceding code word, the code word b is selected from code words b1and b2, a code stream in which the code word a is connected to the codeword b1 is X1, and a code stream in which the code word a is connectedto the code word b2 is X2, the code words b1 and b2 are arranged to haveopposite parameters INV predicting a transition of a next code worddepending on whether a number of bits of value “1” in a code word is oddor even. When the code word a is connected to the code word b1 or b2,although the code word a, b1, or b2 is modulated into another type ofcode word according to a boundary rule, the code streams X1 and X2 arearranged to have opposite parameters INV.

According to yet another aspect of the present invention, an apparatusmodulates m-bit source data into n-bit (n≧m) code words to improve a DCsuppression capability by confining a minimum run length limit to “d”and a maximum run length limit to “k”. The apparatus includes amultiplexer that multiplexes input data divided by a predeterminedlength using multiplexed information to provide a multiplexed datastream, an encoder that weak DC-free RLL-modulates the multiplexed datastream without using a DC control sub code conversion table to whichadditional bits are added, and a selector that selects a code streamcomprising a minimum of DC components among multiplexed, RLL-modulatedcode streams.

According to yet another aspect of the present invention, a datamodulating apparatus modulates m-bit source data into n-bit (n≧m) codewords where a minimum run length limit is confined to “d” and a maximumrun length limit is confined to “k”. The data modulating apparatusincludes a multiplexer that multiplexes an input data stream divided bya predetermined length into a plurality of types of pseudo-random datastreams using multiplexed information of predetermined bits by applyinga predetermined multiplexing method to each of the pseudo-random datastreams, and an encoder that RLL-modulates the plurality of types ofpseudo-random data streams to create a modulated code stream in whichthe best DC suppression is performed.

According to yet another aspect of the present invention, a datamodulating apparatus modulates m-bit source data into n-bit (n≧m) codewords where a minimum run length limit is confined to “d” and a maximumrun length limit is confined to “k”. The data modulating apparatusincludes a multiplexer that multiplexes an input data stream divided bya predetermined length into a plurality of types of pseudo-random datastreams using multiplexed information of predetermined bits by applyinga predetermined multiplexing method to each of the pseudo-random datastreams, an encoder that weak DC-free RLL-modulates the multiplexed datastream without using DC control sub code conversion table to whichadditional bits are added, and a selector that selects a code streamcomprising a minimum of DC components among multiplexed, RLL-modulatedcode streams.

According to yet another aspect of the present invention, a datademodulating apparatus includes a decoder that demodulates each n bit ofinput digital data into m-bit (n≧m) of a demodulation code unit togenerate a non-inverted data stream having a predetermined length, and ademultiplexer that inconsecutively descrambles the non-inverted datastream using multiplexed information to generate an inverted datastream.

The operations of the method of the present invention may be implementedby computer-executable instructions of a computer-readable medium.

Additional aspects and advantages of the invention will be set forth inpart in the description which follows and, in part, will be obvious fromthe description, or may be learned by practice of the invention.

BRIEF DESCRIPTION OF THE DRAWINGS

These and/or other aspects and advantages of the invention will becomeapparent and more readily appreciated from the following description ofthe embodiments, taken in conjunction with the accompanying drawings ofwhich:

FIG. 1 illustrates power spectrum density (PSD) curves of conventionalcodes;

FIG. 2 illustrates a conventional multiplexing method;

FIG. 3 illustrates an error propagation characteristic when dataconverted using the conventional multiplexing method presented in FIG. 2is reproduced;

FIG. 4 is a block diagram of a data modulating apparatus according to anembodiment of the present invention;

FIG. 5 illustrates a multiplexing method using pseudo-scrambling appliedto a multiplexer of FIG. 4;

FIG. 6 illustrates an error propagation characteristic when dataconverted using the multiplexing method presented in FIG. 5 isreproduced;

FIG. 7 illustrates PSD curves showing DC suppression capabilities in adata modulating method according to an aspect of an embodiment of thepresent invention;

FIG. 8 shows code word characteristics of main code groups;

FIG. 9 shows code word characteristics of auxiliary code groups for DCcontrol;

FIG. 10 shows a next code group ncg determined depending on a number ofend zeros EZ;

FIG. 11 illustrates a run length limited (RLL) condition when a codeword a is connected to a code word b;

FIG. 12 shows changes in a parameter INV before and after codeconversion when the RLL condition of FIG. 11 is not satisfied;

FIG. 13 illustrates an example of the divergence of a code stream due tocode words b1 and b2 for DC control;

FIG. 14 shows multiplexed information converted into multiplexed IDs ina sync signal and multiplexed ID inserter shown in FIG. 4;

FIGS. 15A through 15E show a main code conversion table created andarranged in consideration of the above-described conditions;

FIG. 16 shows a sub code conversion table for DC control created andarranged in consideration of the above-described conditions;

FIG. 17 illustrates a PSD curve of a RLL (1, 7) code according to anembodiment of the present invention;

FIG. 18 shows recording density and recording efficiency of the RLL (1,7) code according to an embodiment of the present invention andrecording densities and recording efficiencies of A-Code, B-Code, andC-Code;

FIG. 19 illustrates a PSD curve of an RLL (2, 10) code according to anembodiment of the present invention; and

FIG. 20 shows recording density and recording efficiency of the RLL (2,10) code and recording density and recording efficiency of an existingeight-to-fourteen modulation plus (EFMP) code.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Reference will now be made in detail to the present embodiments of thepresent invention, examples of which are illustrated in the accompanyingdrawings, wherein like reference numerals refer to the like elementsthroughout. The embodiments are described below in order to explain thepresent invention by referring to the figures.

FIG. 4 is a block diagram of a data modulating apparatus according to anembodiment of the present invention. Referring to FIG. 4, an input datastream may be expressed as in Equation 1 and divided by a vXu slicer 10as in Equation 2. In other words, the input data stream is divided intovXu(=k) data streams, i.e., v data streams each having a u byte length.$\begin{matrix}{x = \left( {x_{0},x_{1},\ldots\quad,x_{k - 1},\ldots\quad,x_{l - 1}} \right)} & (1) \\{B_{x} = {\begin{bmatrix}{x_{0,0},x_{0,1},\ldots\quad,x_{0,{u - 1}}} \\{x_{1,0},x_{1,1},\ldots\quad,x_{1,{u - 1}}} \\{\quad\ldots} \\{x_{i,0},x_{i,1},\ldots\quad,x_{i,j},\ldots\quad,x_{i,{u - 1}}} \\{x_{{v - 1},0},x_{{v - 1},1},\ldots\quad,x_{{v - 1},{u - 1}}}\end{bmatrix} = \begin{bmatrix}\underset{\_}{y_{0}} \\\underset{\_}{y_{1}} \\\ldots \\\underset{\_}{y_{i}} \\\ldots \\\underset{\_}{y_{v - 1}}\end{bmatrix}}} & (2)\end{matrix}$wherein x_(i,j)=x_(ixu+j).

A multiplexer 20 using pseudo-scrambling multiplexes each vXu datastream divided by the vXu slicer 10 into L=2^(a) data streams by addinga-bit information to each vXu data stream, and then converts the L=2^(a)data streams into pseudo-random data depending on added multiplexedinformation s. A data stream y _(i) , having a u byte length ismultiplexed into 2^(a) u-byte data containing different contents as inEquations 3 and 4. $\begin{matrix}{\underset{\_}{C_{y}} = \left( {\underset{\_}{C_{0}},\underset{\_}{C_{1}},\ldots\quad,\underset{\_}{C_{i}},\ldots\quad,\underset{\_}{C_{v - 1}}} \right)} & (3) \\\begin{matrix}{C_{i} = \begin{bmatrix}{s_{0},\quad y_{1,0}^{0},x_{i,1},\ldots\quad,x_{i,{q\quad - 1}},x_{i,{q + 1}},\ldots\quad,y_{i,{p^{*}\quad q}},\ldots\quad,x_{i,{u - 1}}} \\{s_{1},y_{i,0}^{1},x_{i,1},\ldots\quad,x_{i,{q - 1}},y_{i,q}^{1},x_{i,{q + 1}},\ldots\quad,y_{i,\quad{p^{*}\quad q}},\ldots\quad,x_{i,{u - 1}}} \\{s_{L - 1},y_{i,0}^{L - 1},x_{i,1},\ldots\quad,x_{i,{q - 1}},y_{i,q}^{L - 1},x_{i,{q + 1}},\ldots\quad,y_{i,{p^{*}\quad q}}^{L - 1},\ldots\quad,x_{i,{u - 1}}}\end{bmatrix}} \\{= \begin{bmatrix}{f\left( {\underset{\_}{y_{i}}/s_{0}} \right)} \\{f\left( {\underset{\_}{y_{i}}/s_{1}} \right)} \\{f\left( {\underset{\_}{y_{i}}/s_{L - 1}} \right)}\end{bmatrix}}\end{matrix} & (4)\end{matrix}$wherein u−1 is a multiple of q, p=0, 1, . . . , r, r is a share of(u−1)/q, and q is referred to as a scramble interval exponent. Afunction ƒ(y _(i) /s) refers to the result of the conversion of theinput data stream y _(i) into pseudo-random data using the multiplexedinformation s.

A sync signal and multiplexed ID inserter 30 may have a plurality ofchannels (here, L=2^(a)) depending on a number of bits of the addedmultiplexed information s. The sync signal and multiplexed ID inserter30 inserts a sync pattern into the 2^(a) multiplexed pseudo-random datastreams, i.e., the multiplexed pseudo-random data stream to which themultiplexed information s is added, and then converts the multiplexedinformation s into multiplexed IDs.

A weak DC-free RLL encoder 40 may have a plurality of channels (here,L=2^(a)) depending on the added multiplexed information, andRLL-modulates a weak DC-free modulation code. Here, according to RLLmodulation, m-bit source data is converted into an n-bit code word (n≧m)which is limited to a minimum run length “d” constraint and a maximumrun length “k” constraint.

The weak DC-free RLL encoder 40 encodes a code which is capable ofsuppressing a DC offset when redundancy does not exist in the absence ofan additional DC suppression code conversion table containing additionalbits but has a weak DC suppression capability into a code word thatsatisfies a predetermined RLL condition. That is, an RLL (1, 7, 8, 12)code wherein a minimum run length d=1 and a maximum run length k=7,groups the code word into code words according to the above RLLcondition, and RLL-modulates the code words using a main code conversiontable in which code words are arranged so that a code word stream of asource word has a DC control capability and a sub code conversion tablefor DC control that satisfies the predetermined RLL condition and ismade by taking unnecessary code words out of the main code conversiontable.

The sync signal and multiplexed ID inserter 30 may convert themultiplexed information into the multiplexed IDs by confining theminimum run length “d” to 2 and the maximum run length “k” to 7 toincrease the size of a minimum mark or pit, thereby reducinginterferential noise of a signal. As another aspect, the weak DC-freeRLL encoder 40 may encode a code, e.g., a RLL (2, 10, 8, 15) code, wherethe minimum run length “d” is 2 and the maximum run length “k” is 10.

A comparator and selector 50 selects an RLL modulated stream having asmallest number of DC components among the 2^(a) RLL modulated streams.

FIG. 5 illustrates a multiplexing method using pseudo-scrambling appliedto the multiplexer 20 shown in FIG. 4. The present invention refers to amethod of inconsecutively scrambling input data as the multiplexingmethod using pseudo-scrambling.

In the multiplexing method using pseudo-scrambling, as shown in FIG. 2,if an error occurs in a data position, the error causes an error in thenext data. Accordingly, if data is inconsecutively scrambled withoutaffecting DC components of a code stream, the probability of errorpropagation to the next data may be reduced.

In FIG. 5, an input data stream y _(i) of u byte length, which includesx_(i,0) through x_(i,u−1), each of which has predetermined data bits, isconverted into pseudo-random data ƒ(y _(i) /s_(t)) by performing anexclusive OR operation on multiplexed information s_(t) andinconsecutive q^(th)ones of x_(i,0) through x_(i,u−1) usinginconsecutive q_(th) exclusive OR devices.

When a number a of bits of the multiplexed information s_(t) is lessthan or equal to a number m of bits of input data, all of the bits ofthe multiplexed information s_(t) are used to multiplex the input datastream y _(i) having the u byte length. However, if a<m, the conversionof a bits of least significant bits (LSBs) of the input data, a bits ofmost significant bits (MSBs) of the input data, or a bits of m bits ofthe input data into pseudo-random data displays has almost the sameefficiency as the conversion of all of m bits into pseudo-random data.

In other words, a first code modulation unit (first data to bemodulated) x_(i,0) is modulated into data y^(t) _(i,0) by performing anexclusive OR operation on the first code modulation unit x_(i,0) and theinitial data (multiplexed information) s_(t). Exclusive OR operationsare not performed on code modulation units x_(i,1) through x_(i,q−1),and thus the code modulation units x_(i,1) through x_(i,q−1) are outputunchanged. Thereafter, an exclusive OR operation is performed on themodulated data y^(t) _(i,0) and a code modulation unit x_(i,q) ofinconsecutive q^(th) modulation units to create next modulated datay^(t) _(i,q). An exclusive OR operation is repeated to a final one ofthe inconsecutive q^(th) modulation units of the input data stream y_(i) .

FIG. 6 illustrates an error propagation characteristic when reproducingpseudo-random data modulated according to the multiplexing method usingpseudo scrambling presented in FIG. 5. During inversion of data, a datastream ƒ′(u _(i) /s_(t)) is an RLL stream that is demodulated by adecoder (not shown) that demodulates the data stream in accordance withthe RLL modulating method used during modulation. Also, the structureshown in FIG. 6 may be called a demultiplexer which inconsecutivelydescrambles non-inverted data using multiplexed information to providean inverted data stream.

In FIG. 6, an exclusive OR operation is performed on initial data(multiplexed data s_(t)) and a first demodulation code unit y^(t) _(i,0)and then on each of inconsecutive q^(th) demodulation code units to beinverted and each demodulation code unit prior to each q^(th)demodulation code unit to create restored data.

In other words, an exclusive OR operation is performed on the firstdemodulation code unit y^(t) _(i,0) and the initial data (multiplexeddata s_(t)) to create inverted data x_(i,0). Exclusive OR operations arenot performed on demodulation code units x_(i,1) through x_(i,q−1), andthe demodulation code units x_(i,1) through x_(i,q−1) are outputunchanged. Thereafter, an exclusive OR operation is performed on thefirst demodulation code unit y^(t) _(i,0) (which is not inverted) and afirst q^(th) demodulation code unit y^(t) _(i,q) of the inconsecutiveq^(th) demodulation code units to create inverted data x_(i,q). Next, anexclusive OR operation is repeated to a final one of the inconsecutiveq^(th) demodulation code units of the non-inverted data stream ƒ′(y _(i)/s_(t)).

Accordingly, pseudo-random data is RLL-modulated, stored on a storagemedium such as an optical disc, and reproduced as an RLL stream ƒ′(y_(i) /s_(t)) from the storage medium. If an error then appears only indata x*_(i,q+1) of the RLL stream ƒ′(y _(i) /s_(t)) that is notconverted into another type of data by an exclusive OR operation, theerror does not propagate into another data. Error propagation occursonly when an error is generated in a reproduced RLL stream correspondingto input data that is modulated into another type of data through anexclusive OR operation.

When data is converted into pseudo-random data according to themultiplexing method using pseudo-scrambling presented in FIG. 5, anerror propagation probability is reduced to 1/q (q is a cycle of anexclusive OR operation), compared to the multiplexing method presentedin FIG. 2. Here, a value of q should be determined to accept a DCcapability after RLL modulation. The error propagation probability aswell as the DC suppression capability may decrease with an increase inthe value of q. In contrast, the error propagation probability as wellas the DC suppression capability may increase with a reduction in thevalue of q.

FIG. 7 depicts PSD curves showing changes in the DC suppressioncapability depending on the exclusive OR operation cycle q. A DCsuppression capability of a modulated code stream depending on theexclusive OR operation cycle q is shown, wherein a number a of bits ofmultiplexed information s_(t) is 2, a multiplex length u is 50 bits, anda number m of bits of input data to be modulated is 8. An exclusive ORoperation is performed on 2 bits of the multiplexed information s_(t)and 2 bits of LSBs of 8-bit input data. The PSD curves show the DCsuppression capability varying depending on the results of the exclusiveOR operation when the exclusive OR operation cycle q is 1 byte, 5 bytes,10 bytes, 15 bytes, and 20 bytes. As may be seen in FIG. 7, although theexclusive OR operation is performed every 5 byte, the DC suppressioncapability hardly varies, while an error propagation rate may be reducedto ⅕.

A weak DC-free RLL modulation code according to an embodiment of thepresent invention will now be explained.

An RLL (d, k, m, n) code is appraised according to recording density andDC suppression capability. Here, m denotes a number of data bits (alsoreferred to as a number of bits of source data or a number of bits of aninformation word), n denotes a number of bits of a modulated code word(also called a number of channel bits), d denotes the minimum number(the minimum run length limit) of successive zeros which may existbetween the “1” bits in a code word, and k denotes the maximum number(the maximum run length limit) of successive zeros which may existbetween the “1” bits in a code word. A bit gap in a code word isindicated by T corresponding to a cycle of clock signal used inrecording or reproduction.

In a modulating method, recording density may be improved by reducingthe number n, but by not varying the minimum run length limit d and thenumber m. However, the RLL code should satisfy the minimum run lengthlimit d and the maximum run length limit k in the code word. Thus, anumber of code words satisfying the RLL (d, k) condition is 2^(m) (m isa number of data bits) or more. However, in order to actually use theRLL code, a portion connecting a code word to a code word should alsosatisfy the RLL (d, k) condition and a code to be used should have a DCsuppression capability when DC components of the code affect theperformance of an optical recording and/or reproducing apparatus.

In an embodiment of the present invention, two types of code tables,i.e., a main code conversion table and a sub code conversion table forDC control, are generated for code words of a source code to bemodulated.

A method of creating code words in the main code conversion table andthe sub code conversion table will be described below, taking an RLL (1,7) code, where the minimum run length limit is 1 and the maximum runlength limit is 7, as an example.

FIG. 8 illustrates a plurality of code word groups of the mainconversion and the code word characteristics of the code word groups.

When the minimum run length limit is d, the maximum run length limit isk, a number of bits of source data is m, a number of bits of a modulatedcode word is n, a number of successive zeros from LSBs of the modulatedcode word to MSBs are end zeros (EZ), and a number of successive zerosfrom MSBs to LSBs are lead zeros (LZ), code words in which d=1, k=7,m=8, n=12, and 0 ≦EZ≦5 are classified below according to LZ conditions.

-   -   (1) The number of code words satisfying 1≦LZ≦7 is 210.    -   (2) The number of code words satisfying 0≦LZ≦4 is 316.    -   (3) The number of code words satisfying 0≦LZ≦2 is 264.

In order to modulate 8-bit source data, the number of code words shouldbe at least 256 or more. However, in the group (1), the number of codewords is less than 256, and thus a portion of code words satisfying adifferent LZ condition are taken to supplement a shortage of code words.In other words, 51 “1010xxxxxxxx” code words are subtracted from codewords satisfying LZ=0 in the group (2) and then added to the code wordsin the group (1). Then, the number of code words in the group (1)becomes 261, the number of code words in the group (2) becomes 265, andthe number of code words in the group (3) is 264. As a result, each ofthe groups (1), (2), and (3) contains 256 or more code words, and thusmay satisfy the minimum number “256” of code words of 8-bit source datato be modulated. 256 code words are taken out of each of the groups (1),(2), and (3) to make three main code groups MCG1, MCG2, and MCG3. InFIG. 8, the main code group MCG1 corresponds to the group (1) containingthe code words satisfying 1≦LZ≦7 and 51 code words taken out of thegroup (2), and the main code groups MCG2 and MCG3 correspond to thegroups (2) and (3), respectively. Only 256 code words of each of themain code groups MCG1, MCG2, and MCG3 are used as code words of sourcedata to be modulated.

FIG. 9 illustrates a plurality of code word groups of a sub codeconversion table for DC control and the code word characteristics of thecode word groups.

Code words in the sub code conversion table are code words (wherein d=1,k=7, m=8, and n=12) satisfying 6≦EZ≦7, redundant code words of the maincode groups MCG1, MCG2, and MCG3, and code words satisfying 5≦LZ≦6 orLZ=3, and then used as auxiliary code groups. Conditions of creating thecode words of the sub code conversion table will be described below indetail and the auxiliary code groups are indicated by ACG1, ACG2, andACG3.

The auxiliary code group ACG1 contains 15 code words which are madefrom: 8 code words satisfying 6≦EZ≦7 and LZ≠0+5 redundant code words ofthe main code group MCG1+2 “1010xxxxxxxx” code words satisfying 6≦EZ≦7and LZ=0.

The auxiliary code group ACG2 contains 40 code words which are madefrom: 12 code words satisfying 6≦EZ≦7 and 0≦LZ≦6+21 code wordssatisfying 0≦EZ≦5 and 5≦LZ≦6+9 redundant code words of the main codegroup MCG2−2 “1010xxxxxxxx” code words satisfying 6≦EZ≦7 and LZ=0.

The auxiliary code group ACG3 contains 51 code words which are madefrom: 10 code words satisfying 6≦EZ≦7 and 0≦LZ≦3+33 code wordssatisfying 0≦EZ≦5 and LZ=3+8 redundant code words of the main code groupMCG3.

FIG. 10 shows a parameter ncg indicating a next code group M=ncgdetdetermined depending on a number EZ_a of end zeros of preceding codewords a in the main code conversion table described with reference toFIG. 8 and the sub code conversion table for DC control described withreference to FIG. 9, i.e., a next code group of the previous code wordsa. A code group to which a code word b belongs is determined dependingon the number EZ_a. In other words, if the number EZ_a is “0”, the codegroup of the code word b is “1” (=MCG1), if 1≦EZ_a≦3, 2 (=MCG2), and if4≦EZ_a≦7, 3 (=MCG3).

A portion connecting the code words a to the code word b has to satisfythe RLL (d, k) condition.

FIG. 11 illustrates the RLL (d, k) condition when a code word a isconnected to a code word b. A value obtained by adding a number of EZ_aof end zeros of the code word a to a number of LZ_b of lead zeros of thecode word b should be greater than or equal to the minimum run length dand less than or equal to the maximum run length k in order to meet theRLL (d, k) condition.

FIG. 12 illustrates changes in a parameter INV before and after codemodulation when the code words a and b do not comply with the RLL (d, k)condition described with reference to FIG. 11. The parameter INVindicates the transition of a next code word, where if a number of bitsof value “1” in a code word is even, the parameter INV is “0”, while ifa number of bits of value “1” in the code word is odd, the parameter INVis “1”. In addition, a digital sum value (DSV) parameter refers to a DSVin a code word stream and a low absolute DSV indicates that the codeword stream contains a small number of DC or low frequency components. Acode word sum value (CSV) parameter represents a DC value in a code wordand is used to measure DC or low frequency components during modulationof codes, and a low CSV indicates that the code word contains a smallnumber of DC or low frequency components. If an INV value accumulated toa current code word in the code word stream is “0”, a CSV value of anext code word is added to a DSV value accumulated to a code word priorto the next code word to update the DSV value. If the accumulated INVvalue is “1”, the sign of the CSV of the next code word is inverted andthen added to the accumulated DSV value to update the DSV value.

Referring to FIG. 12, a code group to which a code word b belongs isdetermined depending on a number EZ_a of end zeros of a preceding codeword a. In a case where a code group that takes code words out ofanother code conversion table due to lack of code words in the main codeconversion table and the sub code conversion table for DC control isdesignated as the code group of the code word b, the code group of thecode word b may not satisfy the RLL (d, k) condition. In FIG. 12, thecode group of the code word b violates d≦EZ_a+LZ_b≦k, where the numberEZ_a of end zeros of the code word a is changed. A change in a code worddue to the incompliance with a RLL condition is called a “boundaryrule”. The parameter INV indicating whether the number of bits of value“1” in the code word stream is even or odd is likely to vary from astate prior to code modulation according to the boundary rule. Thus,code words are arranged in a predetermined order in code conversiontables for DC control.

FIG. 13 illustrates the divergence of a code word stream due to codewords b1 and b2 for DC control. The remarkable feature of codemodulation according to an embodiment of the present invention is thatcode words in two selectable code conversion tables have opposite INVcharacteristics (which indicate whether the number of bits of value “1”in a code word stream is even or odd) in order to control a directcurrent (DC) offset. Thus, since the code words in the two selectablecode conversion tables have opposite INV characteristics, one of the twocode words may be arranged for an optimum DC control. As describedpreviously according to the boundary rule, the parameter INV may bechanged. However, this change is not significant when the samephenomenon occurs in two code conversion tables that may be selected ata point of DC control, i.e., the parameter INV is changed in both thecode conversion tables. Accordingly, in an embodiment of the presentinvention, code conversion tables are designed in consideration of thefollowing conditions.

First, in position A in which a code word a is connected to a code wordb, code words b1 and b2 may be selected as the code word b. In thiscase, a number of EZ_a of end zeros of the code word a are the same asin “xxxxxxxxx101”, a number LZ_b1 of lead zeros of the code word b1 arethe same as in “101xxxxxxxxx”, and a number of LZ_b2 of lead zeros ofthe code word b2 are the same as in “101xxxxxxxx”. In other words, codewords having a number of lead zeros as in “101xxxxxxxxx” are disposed inthe same position in the main code group MCG1 and the auxiliary codegroup ACG1, all of code words having a number of end zeros as in“xxxxxxxxx101” are disposed in the same position in the main code groupMCG1 and the auxiliary code group ACG1, in the main code group MCG2 andthe auxiliary code group ACG2, and in the main code group MCG3 and theauxiliary code group ACG3. Accordingly, when a number of end zeros ofthe code word a are the same as in “xxxxxxxxx101”, the parameter INV ofthe code word a is changed or not changed. Thus, a code stream to whichthe code word b1 belongs and a code stream to which the code word b2belongs have opposite INV characteristics according to the boundaryrule.

Next, when the code words b1 and b2 are connected to code words c,respectively, in position B in which the code word b is connected to acode word c, although the code word b1, b2, or c is modulated intoanother type of code word according to the boundary rule, a code streamin which the code word b1 is connected to the code word c and a codestream in which the code word b2 is connected to the code word c haveopposite parameters INV.

A sync pattern and multiplexed IDs will now be explained.

In a modulating method in which the maximum number “k” of successivezeros existing between the “1” bits is limited to 7, a sync pattern“010000000010000000010” violating the limitation of k=7 will be used.

-   -   Sync Pattern: 010000000010000000010

As shown in FIG. 14, 4-bit multiplexed information is modulated into a6-bit multiplexed ID to multiplex a data stream. In this case, one datastream is converted into L=2⁴=16 types of pseudo-random data streams.

FIGS. 15A through 15E illustrate a main code conversion table createdand arranged in consideration of the above-described conditions.

FIG. 16 shows a sub code conversion table for DC control created andarranged in consideration of the above-described conditions. Whether apreceding code word (codeword a of FIG. 13) and a following code word(codeword c of FIG. 13) violate a run length limit is checked. When thepreceding code word and the following code word do not violate the runlength limit, code words in the sub code conversion table should beused.

FIG. 17 illustrates a PSD curve of a code stream that is RLL (1,7)-modulated according to the present invention.

FIG. 18 compares a code rate and a code efficiency of the RLL (1, 7)code according to an embodiment of the present invention with code ratesand code efficiencies of the conventional A-Code, B-Code, and C-Code.The RLL (1, 7) code has a similar DC suppression capability to, and ahigher code efficiency, than the conventional A-Code, B-Code, andC-Code. As a result, recording density may increase by about 2%.

FIG. 19 illustrates PSD curves showing a DC suppression capability of anRLL (2, 10, 8, 15) code according to an embodiment of the presentinvention and a DC suppression capability of an eight-to-fourteenmodulation plus (EFMP) code used on a conventional DVD. Here, the EFMPcode suppresses a DC offset using a separate code conversion table forDC control in addition to a main code conversion table. An example ofthe RLL (2, 10, 8, 15) code is disclosed in Korean Patent ApplicationNo. 2001-21360 filed by the present applicant. An embodiment of thepresent invention performs a weak DC-free RLL modulation which uses amain code conversion table and a sub code conversion table for DCcontrol instead of the separate sub code conversion table containingadditional bits.

FIG. 20 compares a code rate and a code efficiency of the RLL (2, 10, 8,15) code according to an embodiment of the present invention with a coderate and a code efficiency of the EFMP code. The RLL (2, 10, 8, 15) codehas a DC suppression capability similar to and a higher code efficiencythan, the EFMP code, which results in increasing recording density byabout 5.4%.

The embodiment of the present invention may be effectively applied to awide variety of storage media storing digital data, particularlyhigh-density storage media such as high density digital versatile discs(HD-DVDs).

As described above, the present invention can combine a weak DC-freemodulation code with a multimode coding method to provide ahigh-efficient modulation code having an improved DC suppressioncapability. As a result, recording density may be improved.

Moreover, when code words violating an RLL condition are replaced withanother type of code words during DC suppression RLL modulation, thereplaced code words may be arranged to maintain a DC suppressioncapability of a code stream. As a result, an improvement effect of theDC suppression capability of the code stream may be achieved.

Furthermore, in the multimode coding method, input data isdiscontinuously scrambled to be multiplexed into pseudo-random data toremove DC components. Thus, the DC suppression capability may beretained and an error propagation probability may be reduced compared toa multimode coding method using a general scrambling method.

The operations of the method of the present invention may be implementedby computer-executable instructions of a computer-readable medium.

Although a few embodiments of the present invention have been shown anddescribed, it would be appreciated by those skilled in the art thatchanges may be made in this embodiment without departing from theprinciples and spirit of the invention, the scope of which is defined inthe claims and their equivalents.

1. An apparatus for recording a modulated code stream on a recordingmedium, comprising: a data modulator arranged to modulate an input datastream divided by a predetermined length into a plurality of types ofpseudo random data streams to create a modulated code stream in which anoptimal DC suppression is performed; and a recorder arranged to recordthe modulated code stream on the recording medium.
 2. The apparatus ofclaim 1, wherein the data modulator comprises: a multiplexer tomultiplex an input data stream divided by a predetermined length into aplurality of types of pseudo random data streams using multiplexedinformation of predetermined bits by applying a predeterminedmultiplexing method to each of the pseudo random data streams; anencoder to perform a weak DC-free RLL-modulation of the multiplexed datastream without using DC control sub code conversion table to whichadditional bits are added; and a selector arranged to select a codestream comprising a minimum of DC components among multiplexed,RLL-modulated code streams.
 3. The apparatus of claim 2, wherein thedata modulator further comprises: a divider to divide the input datastream into the predetermined length; a sync signal and multiplexed IDinserter arranged to insert a sync pattern into the multiplexed pseudorandom data streams to which the multiplexed information is added andconverts the multiplexed information into multiplexed IDs; and acomparator/selector arranged to compare the plurality of types ofRLL-modulated code streams to select the code stream comprising theminimum of DC components.
 4. The apparatus of claim 2, wherein themultiplexer generates the random data streams by inconsecutivelyscrambling the input data stream using the multiplexed information. 5.The apparatus of claim 2, wherein, when s_(t) is multiplexed informationused to multiplex the input data stream divided into v data streams eachhaving a u-byte length, a number a of bits of the multiplexedinformation s_(t) is less than or equal to a number m of bits of inputsource data, wherein u and v are positive integers.
 6. The apparatus ofclaim 2, wherein the multiplexer comprises exclusive OR devices, each ofwhich is disposed for each q^(th) code modulation unit of the pluralityof types of random data streams, and performs an exclusive OR operationon the multiplexed information s_(t) and first m-bit data of a firstcode modulation unit of the plurality of types of random data streamsusing the first exclusive OR devices to generate modulated data, outputsa second code modulation unit to a q−1^(th) code modulation unit withoutan exclusive OR operation, performs an exclusive OR operation on thefirst code modulation unit and a q^(th) code modulation unit to generatenext modulated data, and repeats an exclusive OR operation from theq^(th) code modulation unit to a final code modulation unit of the inputdata stream.
 7. The apparatus of claim 6, wherein, when an exclusive ORoperation cycle is q, where q is a positive integer, an errorpropagation probability is reduced to 1/q.
 8. The apparatus of claim 2,wherein the encoder performs the weak DC-free RLL modulation when codewords of the same data in main code groups and in DC control auxiliarycode groups, have opposite INV values in order to control a DC, and INVis a parameter predicting a transition direction of a next code worddepending on whether a number of bits of value “1” in a code word streamis odd or even.
 9. The apparatus of claim 1, further comprising a datademodulator arranged to demodulate input digital data read from therecording medium, the data demodulator comprising: a decoder arranged todemodulate each n bit of input digital data representing a data streammodulated in accordance with a run length limited (RLL) modulationmethod for an optimal DC suppression into m-bit, wherein n≧m, and n andm are positive integers, to generate a non-inverted data stream having apredetermined length; and a demultiplexer arranged to inconsecutivelydescramble the non-inverted data stream using multiplexed information togenerate an inverted data stream.
 10. The apparatus of claim 9, whereinthe demultiplexer comprises exclusive OR devices, each of which isdisposed for each q^(th) demodulation code unit, and performs anexclusive OR operation on a first demodulation code unit and initialdata that is the multiplexed information to generate first inverteddata, outputs a second demodulation code unit to a q−1^(th) demodulationcode unit without an exclusive OR operation, performs an exclusive ORoperation on the first demodulation code unit and a first q^(th)demodulation code unit of inconsecutive q^(th) demodulation code unitsto generate next inverted data, and repeats an exclusive OR operation tothe final one of the remaining q^(th) demodulation code units of thenon-inverted data stream to provide the inverted data stream.
 11. Theapparatus of claim 1, further comprising a data demodulator arranged todemodulate input digital data in n-bit read from the recording mediuminto m-bit code words, wherein n≧m, and n and m are positive integers, aminimum run length limit is confined to “d” and a maximum run lengthlimit is confined to “k”, wherein “d” and “k” are positive integers, thedata demodulator comprising: a decoder which decodes source datarepresenting a code stream of code words comprising a minimum of DCcomponents selected among a plurality of code streams modulated inaccordance with a run length limited (RLL) modulation method for anoptimal DC suppression, and which generates non-inverted data having apredetermined length; and a demultiplexer which inconsecutivelydescrambles non-inverted data using multiplexed information ofpredetermined bits to generate an inverted data stream.
 12. Theapparatus of claim 11, wherein the demultiplexer comprises exclusive ORdevices, each of which is disposed for each q^(th) demodulation codeunit, and performs an exclusive OR operation on a first demodulationcode unit and initial data that is the multiplexed information togenerate first inverted data, outputs a second demodulation code unit toa q−1^(th) demodulation code unit without an exclusive OR operation,performs an exclusive OR operation on the first demodulation code unitand a first q^(th) demodulation code unit of inconsecutive q^(th)demodulation code units to generate next inverted data, and repeats anexclusive OR operation to the final one of the remaining q^(th)demodulation code units of the non-inverted data stream to provide theinverted data stream.